package com.dp.builder.exp2;

/**
 * @Author: Ruomeng
 * @Date: 2024/11/27
 * @Description : design-pattern
 * @Version: 1.0
 */
public class App {
    public static void main(String[] args) {
        //获取连接对象
        RabbitMQClient3 instance = new RabbitMQClient3.Builder().setHost("192.168.52.123").
                setMode(1).setPort(5672).setQueue("test").build();
        instance.sendMessage("test");
    }
}
